Fix inferred name of `src/main.rs`
authorAlex Crichton <alex@alexcrichton.com>
Thu, 17 Jul 2014 01:44:30 +0000 (18:44 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 17 Jul 2014 01:44:30 +0000 (18:44 -0700)
commit835e5ac1acf7fbf120c2d6aaa7ca30d9d5b30987
tree929541fc932c8b23bb29aa24f5308317d1c5b8f5
parent5152769a10c2279c899454f02df2958e2a009f1e
Fix inferred name of `src/main.rs`

The crate name should be the package name, not `main`.

Closes #207
src/cargo/ops/cargo_run.rs
src/cargo/sources/git/utils.rs
src/cargo/util/toml.rs
tests/support/mod.rs
tests/test_cargo_compile.rs
tests/test_cargo_compile_git_deps.rs
tests/test_cargo_cross_compile.rs
tests/test_cargo_run.rs
tests/test_cargo_test.rs
tests/test_shell.rs